//
//  MCNewMarketingHead_statusView.swift
//  StoreManage
//
//  Created by MC on 2018/6/26.
//  Copyright © 2018年 MC. All rights reserved.
//

import UIKit

class MCNewMarketingHead_statusView: UIView {

    override init(frame: CGRect) {
        super.init(frame: frame)
       self.backgroundColor = UIColor.white
        
        self.addSubview(statusView)
        statusView.snp.remakeConstraints { (make) ->Void in
            make.left.equalTo(self).offset(5)
            make.right.equalTo(self).offset(-5)
            make.centerY.equalTo(self)
            make.height.equalTo(44)
        }
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }

    lazy var statusView: MCAddTicketEventView = {
        let view = MCAddTicketEventView()
        view.titleLabel.text = "活动状态"
        view.lineView.isHidden = true
        view.titleLabel.font = MCFont(16)
        view.contentButton.setTitle("请选择", for: UIControlState.normal)
        view.contentButton.tag = 1001
        
        return view
    }()
}
